package com.ljd.client;

import com.ljd.util.vo.UcenterMemberVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@Component
@FeignClient(name = "service-ucenter",fallback = UcenterDegradeFeignClient.class)
public interface UcenterClient {
    @PostMapping("/ucenter/member/getUcenterMember/{id}")
    public UcenterMemberVo getUcenterMember(@PathVariable("id") String id);
}
